package com.ruoyi.crop.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.crop.api.domain.OutBound;
import com.ruoyi.crop.service.OutBoundService;
import com.ruoyi.crop.mapper.OutBoundMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86178
* @description 针对表【src_out_bound(出入库表)】的数据库操作Service实现
* @createDate 2024-07-27 09:35:55
*/
@Service
public class OutBoundServiceImpl extends ServiceImpl<OutBoundMapper, OutBound>
    implements OutBoundService{

    @Override
    public List<OutBound> listAll(OutBound outBound) {
        return baseMapper.listAll(outBound);
    }

    @Override
    public void deleteDictTypeByIds(Long[] ids) {
        baseMapper.deleteDictTypeByIds(ids);
    }

    @Override
    public void delById(Integer getOutboundId) {
        baseMapper.delById(getOutboundId);
    }

    @Override
    public OutBound getByMaterialLotId(Integer materialLotId) {
        return baseMapper.getByMaterialLotId(materialLotId);
    }

    @Override
    public List<OutBound> listAll1(OutBound outBound) {
        return baseMapper.listAll1(outBound);
    }
}




